GXNewPaperType
You can use theGXNewPaperType
function to create a new paper-type object.
gxPaperType GXNewPaperType (gxJob aJob, Str31 name, gxRectangle *pageSize, gxRectangle *paperSize);
aJob
- A reference to the job object with which to associate the new paper-type object.
- name
- The name of the new paper type.
- pageSize
- A pointer to a rectangle that defines the page size, or imageable area of the paper.
- paperSize
- A pointer to a rectangle that defines the paper size.
- function result
- A reference to the newly created paper-type object.
DESCRIPTION
TheGXNewPaperType
function creates a paper-type object with the titlename
, the imageable area defined by the pageSize rectangle, and the paper size defined by the paperSize rectangle. This function associates a paper type of these specifications with the specified job object.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. collectionVersionErr The version of the collection object is not compatible with the current version of the Collection Manager. gxPaperTypeNotFound The paper-type object cannot be located. SEE ALSO
For an example that uses theGXNewPaperType
function, see "Creating a Paper-Type Object" on page 4-32.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help